package com.example.rabbitcloud.exchange;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author cxx
 * @create 2020-02-21 21:51
 **/
public interface Produce {

    /**
     * Name of the output channel.
     */
    String OUTPUT = "rabbitcloud";

    /**
     * @return output channel
     */
    @Output(OUTPUT)
    MessageChannel output();

}
